package com.jydw.da.frame.service.impl;

import org.springframework.stereotype.Service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jydw.da.frame.mapper.RoleMapper;
import com.jydw.da.frame.pojo.Role;
import com.jydw.da.frame.service.RoleService;

@Service
public class RoleServiceImpl extends ServiceImpl<RoleMapper, Role> implements RoleService {

    @Override
    public int batchInsert(List<Role> list) {
        return baseMapper.batchInsert(list);
    }

    @Override
    public int insertOrUpdate(Role record) {
        return baseMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(Role record) {
        return baseMapper.insertOrUpdateSelective(record);
    }
}
